package cn.xiaopengstack.domain.rebate.model.entity;

import cn.xiaopengstack.domain.rebate.model.valobj.BehaviorTypeVO;
import cn.xiaopengstack.domain.strategy.model.entity.UserEntity;
import lombok.*;

import java.io.Serializable;

/**
 * @author jiangyangang
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class BehaviorEntity implements Serializable {

    private UserEntity userEntity;
    /**
     * 行为类型；sign 签到、openai_pay 支付
     */
    private BehaviorTypeVO behaviorTypeVO;
    /**
     * 业务ID；签到则是日期字符串，支付则是外部的业务ID
     */
    private String outBusinessNo;

    /**
     * 行为的时间
     */
    private Long behaviorTime;
}
